<?php
/**
 * Error exception
 *
 * PHP version 5
 *
 * @category Controller
 * @version  1.0
 * @author   Duonght <hduongdmit@gmail.com>
 */
class ErrorsController extends AppController {
	public $name = 'Errors';
	public $components = array('Auth');
	public function beforeFilter() {
		parent::beforeFilter();
		$this->Auth->allow('error404');
	}

	public function error404() {
		$this->layout = 'error';
	}
}